import java.awt.Color;


public class Square extends Piece{
	public Square(Grid gr,TetrisGame game){
		super(gr,game);
		color=Color.yellow;
		name="square";
	}

	
	public void fillBlocks(){
		for(int i=0;i<2;i++){
			for(int j=0;j<2;j++){
				blocks.add(new Block(color,gr,new Location(gr.getWidth()/2-j,i,gr)));
			}
		}
	}
}
